FROM mdns/apache2-php:latest
MAINTAINER wrfly mr.wrfly@gmail.com

COPY app www
RUN apk add --update php-mysql php-ldap && \
    echo "ServerName localhost:80" >> /etc/apache2/httpd.conf && \
    rm /www/index.html &&\
    chown apache /www -R
CMD ./www/start.sh
